<script type="text/javascript" src="__STATIC__/js/mobile.js" ></script>
<div class="goods_nav hid" id="menu">
    <div class="Triangle">
        <h2></h2>
    </div>
    <ul>
        <li><a href="{:U('Index/index')}"><span class="menu1"></span><i>首页</i></a></li>
        <li><a href="{:U('Goods/categoryList')}"><span class="menu2"></span><i>分类</i></a></li>
        <li><a href="{:U('Cart/cart')}"><span class="menu3"></span><i>购物车</i></a></li>
        <li style=" border:0;"><a href="{:U('User/index')}"><span class="menu4"></span><i>我的</i></a></li>
    </ul>
</div>
<if condition="session('user.subscribe') eq 0">
<span class="subscribe_wx_btn" onclick="follow_wx()">关注微信号</span>
<elseif condition="session('user.mobile') eq ''">
<a class="subscribe_wx_btn" href="{:U('User/userinfo')}">注册送积分</a>
</if>
<script type="text/javascript" src="__STATIC__/js/layer.js" ></script>
<script type="text/javascript">
// 关注微信公众号二维码	 
function follow_wx()
{
	layer.open({
		type : 1,  
		title: '长按二维码关注微信',
		content: '<img src="{$weixin_config['qr']}" width="200">',
		style: ''
	});
}
 
</script> 